package com.atguigu.gulimall.ware.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Classname WareOrderFeignService
 * @Description TODO
 * @Date 2021/10/19 20:30
 * @Author Anonymous
 */
@FeignClient("gulimall-order")
public interface WareOrderFeignService {

    /**
     * 根据订单号查询订单状态
     */
    @RequestMapping("/order/order/status/{orderSn}")
    R getOrderStatus(@PathVariable("orderSn") String orderSn);
}
